Control device and communication system

ABSTRACT

A control device that performs wireless communication and is connected to another control device via a wired network includes: an acquirer that acquires information relating to a channel and a communication timing used for wireless communication via the wired network from another control device that acts as a slave; a generator that generates a setting of a channel and a communication timing in which wireless communication performed by the another control device is free of interference, based on information relating to a channel and a communication timing used for wireless communication of the control device and information relating to the channel and the communication timing used for the wireless communication that are acquired by the acquirer; and a reporter that reports the setting of the channel and the timing generated by the generator to the another control device that acts as the slave via the wired network.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of the U.S. patent application Ser.No. 14/682,459, filed on Apr. 9, 2015, which is based upon and claimsthe benefit of priority of the prior Japanese Patent Application No.2014-088460 filed on Apr. 22, 2014, the entire contents of which areincorporated herein by reference.

FIELD

A certain aspect of the embodiments is related to a control device and acommunication system.

BACKGROUND

Conventionally, there is known a power source control network in which amaster logical device and a slave logical device are connected to eachother for example, see Japanese Laid-open Patent Publication No.62-500269). On the network, all of communication is performed betweenthe master logical device and the slave logical device.

There is known a technology in which a client device having a powersource control device is connected to a LAN (Local Area Network)together with a host computer for example, see Japanese Laid-open PatentPublication No. 6-112960). Moreover, there is known a technology, inwhich one of servers that are connected to an uninterruptible powersource via communication cables is determined as a master server, theothers are determined as slave servers, and a shut-down instruction issent to the slave servers when the master server detects a power sourceabnormity of the uninterruptible power source (for example, see JapaneseLaid-open Patent Publication No. 2005-78174).

SUMMARY

According to an aspect of the present invention, there is provided acontrol device that performs wireless communication and is connected toanother control device via a wired network including: an acquirer thatacquires information relating to a channel and a communication timingused for wireless communication via the wired network from anothercontrol device that is made to act as a slave; a generator thatgenerates a setting of a channel and a communication timing in whichwireless communication performed by the another control device is freeof interference, based on information relating to a channel and acommunication timing used for wireless communication of the controldevice and information relating to the channel and the communicationtiming used for the wireless communication that are acquired by theacquirer; and a reporter that reports the setting of the channel and thetiming generated by the generator to the another control device that ismade to act as the slave via the wired network.

According to an aspect of the present invention, there is provided acommunication system including: a plurality of control devices that areconnected to each other via a wired network; a plurality of opposingcontrol devices that respectively perform wireless communication withthe plurality of control devices; and an information processing devicethat is connected to the plurality of control devices via the wirednetwork, and includes a setter that makes one of the plurality ofcontrol devices act as a master and makes the other control devices actas a slave, wherein: the master includes: an acquirer that acquiresinformation relating to a channel and a communication timing used for awireless communication via the wired network from the slave; a generatorthat generates a setting of a channel and a communication timing that isfree of interference in the wireless communication between the pluralityof control devices and the plurality of opposing control devices, basedon information relating to a channel and a communication timing used fora wireless communication that the master uses, and information relatingto the channel and the communication timing used for the wirelesscommunication that are acquired by the acquirer; and a reporter thatreports the setting of the channel and the communication timinggenerated by the generator to the slave via the wired network, the slaveincludes a changer that changes a channel and a communication timingused for the wireless communication of the slave in accordance with thesetting of the channel and the communication that are reported by thereporter

The object and advantages of the invention will be realized and attainedby means of the elements and combinations particularly pointed out inthe claims.

It is to be understood that both the foregoing general description andthe following detailed description are exemplary and explanatory and arenot restrictive of the invention, as claimed.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 illustrates a structure diagram of a conventional communicationsystem;

FIG. 2 illustrates a structure diagram of a communication system inaccordance with an embodiment;

FIG. 3 illustrates a block diagram of a client terminal;

FIG. 4 illustrates a block diagram of a control device;

FIG. 5 illustrates a block diagram of a power source control device;

FIG. 6 illustrates a relationship between a control device, an IPaddress, a power source control device and an ID of a group to which thepower source control device belongs;

FIG. 7 illustrates a flow chart describing an operation of a controldevice (master);

FIG. 8 illustrates a flow chart describing an operation of a controldevice (slave);

FIG. 9 illustrates an example free of interference of wirelesscommunication;

FIG. 10 illustrates a flowchart describing detailed processes of stepS002 of FIG. 7;

FIG. 11 illustrates an example of electrical power information and anacquired time;

FIG. 12 illustrates an example of a format of electrical information;

FIG. 13 illustrates a sequence diagram describing a process foracquiring electrical power information of a power source control devicebelonging to a group ID “g0001”; and

FIG. 14 illustrates a sequence diagram describing a process in a casewhere a client terminal requests electrical power information of a powersource control device belonging to a group ID “g001” from a slave.

DESCRIPTION OF EMBODIMENTS

FIG. 1 illustrates an example of a communication system 1 that has aclient terminal 2, control devices 4A to 4E, wireless base devices 5A to5E, and power source control devices 6A to 6E. There is known acommunication system 1 that has a client terminal 2, control devices 4Ato 4E, wireless base devices 5 to 5E, and power source control devices6A to 6E, as illustrated in FIG. 1. In the communication system 1, theclient terminal 2 is connected to the control devices 4A to 4E via awired network 3. The control devices 4A to 4E are respectively connectedto the wireless base devices 5A to 5E. The wireless base devices 5A to5E are respectively connected to the power source control devices 6A to6E via wireless communication. The wireless base devices 5A to 5Erespectively communicate with the power source control devices 6A to 6Ewith respect to electrical power information without wires. Theelectrical power information acquired by the power source controldevices 6A to 6E are respectively stored in the control devices 4A to 4Evia the wireless base devices 5A to 5E.

In the communication system 1 of FIG. 1, when a plurality of wirelesscommunication is performed between the wireless base devices and thepower source control devices with an identical channel and communicationtimings of the plurality of wireless communication are identical,collisions of the wireless communication may occur. In order to preventthe collisions of the wireless communication, it is necessary for a userto distribute the communication channels and the communication timings.Therefore, the user has to study combinations of the wirelesscommunication and set the communication channels and the communicationtimings. Accordingly, there is a problem that the user has heavyworkload.

In the communication system 1 of FIG. 1, the user can browse theelectrical power information acquired by the power source controldevices 6A to 6E by accessing the control devices 4A to 4E via theclient terminal 2. However, when the user wants to browse the electricalpower information acquired by a specific power source control device,the user has to understand control devices that are connected to thespecific power source control device. That is, there is a problem thatthe user has to understand connection relationships between the powersource control devices and the control devices and thereby the user hasheavy workload.

A description will now be given of an embodiment of the presentinvention with reference to the drawings.

FIG. 2 illustrates a structure diagram of a communication system inaccordance with an embodiment. As illustrated in FIG. 2, a communicationsystem 11 has a client terminal 12 and control devices 14A to 14E. Theclient terminal 12 is connected to the control devices 14A to 14E via awired network 13 (for example, a LAN). The control devices 14A to 14Ehave a function as a wireless base device for respectively communicatingwith power source control devices 16A to 16E with wirelesscommunication. The control devices 14A to 14E are respectively connectedto the power source control devices 16A to 16E via wirelesscommunication. The control devices 14A to 14E respectively acquireelectrical power information from the power source control devices 16Ato 16E acting as opposing control devices. The electrical powerinformation is an example of possession information which the powersource control devices 16A to 16E possess. The power source controldevices 16A to 16E are respectively connected to loads 17A to 17E. Theloads 17A to 17E are electrical appliances and are computers, mobilephones, refrigerators, televisions or the like.

FIG. 3 illustrates a block diagram of the client terminal 12. The clientterminal 12 is an information processing device and is a computer or thelike. The client terminal 12 has a CPU 121 that controls a wholethereof, a memory 122 and a hard disk drive 123 that store apredetermined program or data, a display device 124 that shows a programor data, an input device 125 such as a key board or a mouse that inputsdata, and a local area network interface (LAN IF) 126.

The hard disk drive 123 stores a setting program that makes one of thecontrol devices 14A to 14E act as a master and makes the others act asslaves. The CPU 121 reads the setting program, writes the settingprogram in the memory 122, and executes the setting program. Thus, theCPU 121 makes one of the control devices 14A to 14E act as a master andmakes the others act as slaves in accordance with an instruction fromthe input device 125. The setting of the master and the slaves can bechanged through the input device 125. In the embodiment, the controldevice 14A is made to act as a master, and the control devices 14B to14E are made to act as slaves. The LAN IF 126 is connected to the wirednetwork 13 via a LAN cable.

FIG. 4 illustrates a block diagram of a structure of the control device14A. The control devices 14B to 14E have the same structure as thecontrol device 14A. FIG. 5 illustrates a block diagram of a structure ofthe power source control device 16A. The power source control devices16B to 16E have the same structure as the power source control device16A.

The control device 14A of FIG. 4 has a local area network interface (LANIF) 141, a PHY (Physical Layer Chip) module 142, a CPU 143, a memory144, a built-in clock (real time clock; RTC) 145, a frequency convertor146 and an antenna 147.

For example, the LAN IF 141 and the CPU 143 of the control device 14Aacting as a master acts as an acquirer, a reporter and a sender. The CPU143 of the master acts as a generator, for example. The frequencyconvertor 146, the antenna 147 and the CPU 143 of the master act as asecond acquirer, for example. The memory 144 of the master acts as aholder, for example. Each CPU 143 of the control devices 14B to 14Eacting as slaves acts as a changer, for example. The frequency convertor146, the antenna 147 and the CPU 143 of the slaves act as a thirdacquirer, for example. The LAN IF 141 and the CPU 143 of the slaves actas a second sender, for example.

The power source control device 16A of FIG. 5 has an antenna 161, afrequency convertor 162, a CPU 163, a memory 164, an electrical powermeasure 165, a plug 166 and an electrical power acquirer 167.

In FIG. 4, the LAN IF 141 is connected to the wired network 13 via a LANcable. The PHY module 142 performs a conversion between data and anelectrical signal. The CPU 143 controls an entire operation of thecontrol device. The memory 144 stores data, information and so on. TheRFC 145 measures a time. The times of the control devices 14A to 14E areconsistent with each other. The frequency convertor 146 changes afrequency band used for the communication with the power source controldevice 16A. The antenna 147 is used for sending information to the powersource control device 16A or receiving information from the power sourcecontrol device 16A.

In FIG. 5, the antenna 161 is used for sending information to thecontrol device 14A or receiving information from the control device 14A.The frequency convertor 162 changes a frequency hand used for thecommunication with the control device 14A. The CPU 163 controls anentire operation of the power source control device. The memory 164stores data, information and so on. The electrical power measure 165measures electrical power information of a load (load 17A) such as aconsumption power, a consumption current or a voltage. The plug 166supplies an electrical power to the connected load via the electricalpower acquirer 167. The electrical power acquirer 167 is connected to anouter power source and acquires the electrical power supplied to theload from the outer power source.

The control device 14A and the power source control device 16Acommunicate with each other through wireless communication with use ofthe antennas 147 and 161 and the frequency convertors 146 and 162. Thepower source control device 16A supplies electrical power to the loadconnected to the plug 166 via the electrical power acquirer 167 andmeasures electrical power information of the load such as theconsumption power, the consumption current or the voltage. The controldevices 14A to 14E are connected to the client terminal 12 via the LANIF 141 and the wired network 13 and communicate with each other with useof a http protocol. In the embodiment, a header or the like needed forthe http protocol is omitted.

The power source control devices 16A to 16E respectively supplyelectrical power to the loads 17A to 17E and respectively measureelectrical power [W] consumed by the loads 17A to 17E. The controldevices 14A to 14E respectively perform wireless communication with thepower source control devices 16A to 16E and respectively acquire theelectrical power information from the power source control devices. Theelectrical power information is a value of the consumption power [W] ofthe load connected to each of the power source control devices. Theelectrical power information may be a value of the consumption voltageor the consumption current of the load connected to each of the powersource control devices. Each memory 144 of the control devices 14A to14E stores the electrical power information acquired thereby togetherwith the time of the RTC 145.

FIG. 6 illustrates a relationship between the control devices 14A to14E, IP addresses, the power source control devices 16A to 16E managedby the control devices, and group IDs to which the power source controldevices belong.

The power source control devices 16A to 16E are classified asillustrated in FIG. 6. The power source control device 16A belongs to agroup having a group ID “g0003”. The power source control devices 16Band 16C belong to a group having a group ID “g0001”. The power sourcecontrol devices 16D and 16E belong to a group having a group ID “g0002”.

The memory 144 of the control device 14A acting as a master storesinformation of the power source control device managed by the master,the group ID of the group to which the power source control devicebelongs, an IP address of the control device acting as a slave,information of the power source control device managed by each slave,and the group ID of the group to which the power source control devicemanaged by each slave belongs. A name of each slave, an IP address ofeach slave, information of the power source control device managed byeach slave, the ID of the group to which the power source control devicemanaged by each slave belongs are associated with each other and arestored.

In concrete, the memory 144 of the control device 14A stores informationof the power source control device 16A, the group ID “g0003” to whichthe power source control device 16A belongs, IP addresses “192.168.1.12”to “192.168.1.15” of the slaves, information of the power source controldevices 16B to 16E managed by each slave, the group ID “g0001” to whichthe power source control devices 16B and 16C belong, and the group ID“g0002” to which the power source control devices 16D and 16E belong.

The memory 144 of each slave stores the IP address of the master. Thatis, the memories 144 of the control devices 14B to 14E acting as a slavestores the IP address “192.168.1.11” of the master. A user registers theabove-mentioned information in the master and each slave through theclient terminal 12.

FIG. 7 illustrates a flowchart of an operation of the control device 14A(the master). FIG. 8 illustrates a flowchart of operations of thecontrol devices 14B to 14E (the slaves). In this case, the controldevice 14A acts as the master, and the control devices 14B to 14E act asthe slaves.

Just after starting of the communication system 11, the control devices14A to 14E and the power source control devices 16A to 16E do notperform a negotiation in a frequency hand at a communication timing usedfor wireless communication. Therefore, the control devices 14A to 14Eand the power source control devices 16A to 16E may interfere with eachother. The “frequency band” is a channel that is a frequency band neededfor sending and receiving of data. The “communication timing” is astarting time and a cycle of wireless communication of each controldevice. The starting time and the cycle of the wireless communication isdetermined by the RTC 145 of each control device.

The control device 14A acting as the master changes the channel and thecommunication timing of the wireless communication among all of thecontrol devices including the control device 14A and all of the powersource control devices to another channel and another communicationtiming that are free of interference. The CPU 143 of the master acquireschannels and communication timings used for the wireless communicationfrom all slaves via the wired network 13 as the process (step S001 ofFIG. 7). In concrete, the CPU 143 of the master sends a request (thatis, a GET method) indicated by the following URL to the slaves. The URLis the request of the channel and the communication.

http://<IP address of each slave>/nph.cgi/rfconfig.xml  (1)

The CPU 143 of the slave that receiving the request reports a channeland a communication timing used by the CPU 143 to the master by sendingthe following http message (2) to the master via the wired network 13(YES in step S103 and S104 of FIG. 8).

<channel>2</channel>

<start>5</start>

<interval>10<interval>  (2)

In the http message (2), the channel tag indicates the used channel. Thestart tag indicates a value in second at which the wirelesscommunication starts. The interval tag indicates a value in second ofthe cycle of the wireless communication. In the above-mentioned example,the channel is 2, the value in second at which the wirelesscommunication starts is 5, and the cycle is 10 seconds. When the valuein second is 5 and the cycle is 10 seconds, the wireless communicationstarts at 5 seconds. 15 seconds, 25 seconds, 35 seconds, 45 seconds and55 seconds in any one minute. The data transfer time of the wirelesscommunication is 1 second in single wireless communication. A user canchange the data transfer time of the wireless communication through theclient terminal 12.

The CPU 143 of the master generates a setting, that is free ofinterference of the wireless communication as illustrated in FIG. 9based on the channels and the communication timings that are acquired byall slaves and are used for the wireless communication and the channeland the communication dining that the master uses in the wirelesscommunication (step S002 of FIG. 7). FIG. 9 illustrates an example inwhich 4 channels can be used, starting time is 5 or 10 (initial value is5), and the cycle is 10 seconds. The number of the channel, the startingtime and the cycle are not limited to values of FIG. 9. In the case ofFIG. 9, the cycle is fixed to 10 seconds. However, the cycle may bechanged unless interference occurs in the wireless communication. InFIG. 9, the control devices 14A, 14B, 14C, and 14D use channels that aredifferent from each other. Therefore, the starting times of the controldevices may be set to an identical value (for example, “5”). On theother hand, the control device 14E uses the channel 1 that is the sameas the channel of the control device 14A. Therefore, a differencebetween the value in second of the starting time of the control device14A and the starting time of the control device 14E is five seconds.

The setting that is free of the interference of the wirelesscommunication is generated. Therefore, the CPU 143 of the masterperforms the processes of FIG. 10 with respect to the wirelesscommunication of all control devices. The processes of FIG. 10 isperformed in the step S002 of FIG. 7. A description will be given of theprocesses of FIG. 10.

The CPU 143 of the master initializes the starting times and the cyclesof the wireless communication (step S201). An initial value of thestarting time of each control device is set to 5, and the cycle is setto 10 seconds. Next, it is determined whether the CPU 143 of the mastercan be used, and there is an unused channel (step S202). When it isdetermined as “YES” in the step S202, the CPU 143 of the master changesthe channel used by an object control device to a detected channel thatcan be used and is not used (step S203), and the process is terminated.

When it is determined as “NO” in the step S202, the CPU 143 of themaster changes the channel used by the object, control device to anotherchannel in which the number of the assigned control devices is fewer(step S204). Moreover, the CPU 143 of the master changes the startingtime of the wireless communication of the object control device toanother starting time in which the number of the assigned controldevices is fewer (step S205), and terminates the process.

For example, when the channel of the control device 14B acting as aslave is determined, the channel that the control device 14A uses isalready determined as the channel 1. However, the channels 2 to 4 areusable and unused. Therefore, in this case, the channel used by thecontrol device 14B is changed to the channel 2. For example, when thechannel of the control device 14E acting as a slave is determined, thechannels 1 to 4 are already assigned to the control devices 14A to 14D.Therefore, in the step S202, it is determined that there are no usableand unused channels. In this case, the CPU 143 of the master changes thechannel used by the control device 14E to another channel in which thenumber of assigned channels is fewer (step S204). In FIG. 9, thechannels 1 to 4 are assigned to the control devices 14A to 14D.Therefore, the channel in which the number of the assigned controldevices is fewer is one of the channels 1 to 4. Moreover, the CPU 143 ofthe master changes the starting time of the wireless communication toanother starting time (that is, 10 seconds) in which the number of theassigned control devices is fewer (step S205).

With the processes of FIG. 10, the setting that is free of interferenceof the wireless communication (that is, channels and communicationtimings) can be assigned to all control devices. In the step S205, thestarting time of the wireless communication is changed. However, unlessinterfere occurs in the wireless communication, the cycle may he changedinstead of the starting time of the wireless communication or inaddition to the starting time of the wireless communication.

As illustrated in FIG. 7, the CPU 143 of the master reports the channeland the communication timing of each wireless communication with thefollowing URL request (3) to each slave via the wired network 13 (stepS003 of FIG. 7).

http://<IP address of eachslave>/nph.cgi?channel=2&start=5&interval=10  (3)

When the slave receives the above-mentioned URL request (3), that is,when the master requests the changing of the channel and thecommunication timing of the wireless communication (YES in step S105 ofFIG. 8), the slave changes the channel and the communication timing ofthe wireless communication thereof in accordance with the URL request(3) (step S106 of FIG. 8). For example, in the control device 14B ofFIG. 9, the channel is changed from the initial value to 2, the value insecond of the starting time of the wireless communication is changedfrom the initial value to 5, and the cycle is changed from the initialvalue to 10 seconds. When each initial value is not changed, the initialvalues are kept.

Each control device acquires electrical power information from thecorresponding power source control device via wireless communicationusing the above-set channel after it is confirmed that the RTC 145indicates the time designated by the above-mentioned communicationtiming (step S004 and S005 of FIG. 7 and step S101 and step S102 of FIG.8). In the step S005 of FIG. 7, the master acquires the electrical powerinformation from the power source control device (in this case, thepower source control device 16A) performing the wireless communication.In the step S102 of FIG. 8, the slave acquires the electrical powerinformation from the power source control device that performs thewireless communication with the slave.

When the channel and the communication timing used for the wirelesscommunication are re-set by adding a slave or deleting a slave, theclient terminal 12 requests a re-setting of the channel used for thewireless communication and the communication timing from the master withuse of the following URL request.

http://<IP address of master>/nph.cgi/dorfconfig=1  (4)

The CPU 143 of the master receiving the above-mentioned URL request (4)re-sets the channel and the communication timing used for all ofwireless communication (YES in step S006 of FIG. 7). In this case, theacquiring of a channel and a communication timing used for wirelesscommunication (step S001), the generating of a setting of a channel andcommunication timing that is free of interference of wirelesscommunication (step S002) and the reporting of a generated channel and agenerated communication timing to each slave (step S003) are performedagain.

The user requests the electrical power information of the correspondingpower source control device from each control device with use of theclient terminal 12. The clients terminal 12 requests the electricalpower information from each control device with use of the following URLrequest (5).

http://<IP address of control device>/nph.cgi/data.csv  (5)

The CPU 143 of the control device receiving the above-mentioned URLrequest (5) replies the electrical power information and the acquiredtime of the electrical power information stored therein to the clientterminal 12 as illustrated in FIG. 11 (step S007 and S008 of FIG. 7 andstep S107 and S108 of FIG. 8).

The user can request the electrical power information of every groupfrom the master with use of the client terminal 12. For example, theclient terminal 12 requests the electrical power information of thepower source control device belonging to the group ID “g0001” with useof the following URL request (6) from the master.

http://IP address of master>/nph.cgi/g0001_data.csv  (6)

When the CPU 143 of the master receives the above-mentioned URL request(6), that is, when the electrical power information of the power sourcecontrol device belonging to the group of the client terminal 12 isrequested (YES in step S009 of FIG. 7), the CPU 143 of the master usesthe following URL requests (7) and (8), requests the electrical powerinformation and an acquired time of the electrical power informationfrom all slaves managing the power source control device belonging tothe group thereof and acquires the electrical power information and theacquired time (step S010 of FIG. 7). When there are a plurality ofslaves, the CPU 143 of the master requests the electrical powerinformation and the acquired time of the electrical power informationfrom the slaves in order and acquires the electrical power informationand the acquired time. In this case, all slaves that manage the powersource control devices belonging to the group ID “g0001” are the controldevices 14B and 14C of FIG. 6.

http://<IP address of control the device 14B>/nph.cgi/data.csv  (7)

http://<IP address of control the device 14C>/nph.cgi/data.csv  (8)

The CPU 143 of the slave that receives the URL requests (7) and (8)replies the electrical power information and the acquired time of theelectrical power information stored therein to the master (step S107 andstep S108 of FIG. 8). After that, the master replies the acquiredelectrical power information and the acquired time of the electricalpower information to the client terminal 12 (step S011 of FIG. 7).

On the other hand, when the user requests “re-setting of the channel andthe communication timing used by the control device in the wirelesscommunication” or “the electrical power information of every group” fromthe slave through the client terminal 12 (NO in step S107 of FIG. 8),the CPU 143 of the slave uses the known IP address of the master andreplies a re-direct instruction requesting “re-setting of the channeland the communication timing used by the control devices in the wirelesscommunication” or “the electrical power Information of every group” fromthe master to the client terminal 12 (step S109 of FIG. 8).

When the electrical power information of the power source controldevices are replied to the client terminal 12, the user sets a responseformat to the master in advance through the client terminal 12. FIG. 12illustrates an example of the format of the electrical power informationacquired from the power source control devices 16A and 16B.

FIG. 13 illustrates a sequence diagram describing processes foracquiring the electrical power information of the power source controldevices belonging to the group ID “g0001”.

The client terminal 12 requests electrical power information of thepower source control devices belonging to the, group ID “g0001” from themaster (the control device 14A) (step S301). In this case, the clientterminal 12 sends the above-mentioned URL request (6) to the master.

The CPU 143 of the master requests the electrical power information andthe acquired time of the electrical power information to the slave (thecontrol device 14B) that manages the power source control device 168belonging to the group ID “g0001” (step S302). In this case, the CPU 143of the master sends the above-mentioned URL request (7) to the slave(the control device 14B). The CPU 143 of the slave the control device14B) sends the electrical power information and the acquired time of theelectrical power information stored therein to the master (step S303).In concrete, the CPU 143 of the slave (the control device 14B) repliesthe electrical power information and the acquired time of the electricalpower information to the master.

Next, the CPU 143 of the master requests the electrical powerinformation and the acquired time of the electrical power informationfrom the slave (the control device 14C) that manages the power sourcecontrol device 16C belonging to the group ID “g0001” (step S304). Inthis case, the CPU 143 of the master sends the above-mentioned URLrequest (8) to the slave (the control device 14C). The CPU 143 of theslave (the control device 14C) replies the electrical power informationand the acquired time of the electrical power information stored thereinto the master (step S305). In concrete, the CPU143 of the slave (thecontrol device 14C) replies the electrical power information and theacquired time of the electrical power information acquired from thepower source control device 16C to the master.

The CPU 143 of the master replies the electrical power information andthe acquired time of the electrical power information acquired from theslave (the control devices 14B and 14C to the client terminal 12 (stepS306).

FIG. 14 illustrates a sequence diagram describing processes in a casewhere the client terminal 12 requests the electrical power informationof the power source control devices belonging to the group ID “g0001”from the slave (the control device 14B).

The client terminal 12 requests the electrical power information of thepower source control devices belonging to the group ID “g0001” from the,slave (the control device 14B) (step S401). In this case, the clientterminal 12 sends the following URL request (9) to the slave (thecontrol device 14B).

http://<IP address of the control device14B>/nph.cgi/g0001_data.csv  (9)

The CPU 143 of the slave (the control device 14B) uses the known IPaddress of the master and replies a re-direct instruction (10)requesting the electrical power information of the group ID “g0001” fromthe master to the client terminal 12 (step S402). For example, there-direct instruction (10) is the following instruction.

Location:http://<IP address of master>/nph.cgi/g0001_data.csv  (10)

After that, the client terminal 12 requests the electrical powerinformation of the power source control devices belonging to the groupID “g0001” from the master (step S403). In this case, the clientterminal 12 sends the following URL request (11) to the master.

http://<IP address of master>/nph.cgi/g0001_data.csv  (11)

With the processes of FIG. 14, even if the user requests the electricalpower information of the power source control device belonging to anarbitrary group ID from the slave, the user re-requests the electricalpower information from the master. Therefore, the user can get anexpected result. In other words, requests that the slave cannot handlecan be introduced to the master that is a correct request destination.

As mentioned above, in the embodiment, the CPU 143 of the control device14A acting as the master acquires the information relating to thechannels and the communication timing used for the wirelesscommunication from the control devices 14B to 14E that are made to actas the slaves via the wired network 13 (step S001). The CPU 143generates settings of the channel and the communication timing that arefree of interference of the wireless communication between the controldevices 14A to 14E and the power source control devices 16A to 16E basedon information relating to the channel and the communication timing usedby the master in the wireless communication and the acquired informationrelating to the channel and the communication timing used for thewireless communication (step S002). And, the CPU 143 reports thegenerated settings of the channel and the communication timing to thecontrol devices 14B to 14E that are made to act as the slaves via thewired network 13 (step S003). Therefore, when a plurality of controldevices perform wireless communication with a plurality of power sourcecontrol devices, a channel and a communication timing that are free ofinterference of the wireless communication are automatically set in theplurality of control devices (a master and slaves). It is thereforepossible to suppress interference of the wireless communication withouta load of a user.

When a slave is added or delete (YES in step S006), information relatingto the channel and the communication timing is acquired again (stepS001). And, a setting of the channel and the communication timing thatare free of interference of the wireless communication is generatedagain (step S002). And, the setting of the re-generated channel and there-generated communication timing are reported to the slaves again (stepS003). It is therefore possible to prevent the interference of thewireless communication when a slave is added or deleted.

And, when the client terminal 12 connected to the master via the wirednetwork requests the electrical power information from the master (YESin step S007), the master acquires the electrical power information fromthe power source control devices that perform wireless communicationwith the master (step S005). And, the master sends the acquiredelectrical power information to the client terminal 12 (step S008). Itis therefore possible to send the electrical power information of thepower source control devices performing the wireless communication withthe master to the client terminal 12.

Moreover, the master has the memory 144 that associates IP addresses(destinations) of the slaves with information of the power sourcecontrol devices managed by the slaves, and an ID of a group to which thepower source control devices managed by the slaves belong and storesthem. When the client terminal 12 requests the electrical powerinformation of the power source control devices belonging to a groupfrom the master (step S009), the CPU 143 of the master acquires theelectrical power information of the power source control devicesbelonging to the group from the slaves managing the power source controldevices belonging to the group (step S010), and sends the acquiredelectrical power information to the client terminal 12 (step S011). Itis therefore possible to send electrical power information of the powersource control devices belonging to the group that is managed by theslaves to the client terminal 12.

In the embodiment, the control devices 14A to 14E are respectivelyconnected to the power source control devices 16A to 16E via wirelesscommunication and respectively acquire electrical power information fromthe power source control devices 16A to 16E. However, connectiondestinations of the control devices 14A to 14E are not limited to thepower source control devices 16A to 16E and may be a computer or a homeelectronics that are capable of performing wireless communication withthe control devices 14A to 14E. The information which the controldevices 14A to 14E acquire from the connection destinations is notlimited to electrical power information and may be property information(such as a date of packing, a model number, or a product name) of theconnection destinations.

All examples and conditional language recited herein are intended forpedagogical purposes to aid the reader in understanding the inventionand the concepts contributed by the inventor to furthering the art, andare to be construed as being without limitation to such specificallyrecited examples and conditions, nor does the organization of suchexamples in the specification relate to a showing of the superiority andinferiority of the invention. Although the embodiments of the presentinvention have been described in detail, it should be understood thatthe various change, substitutions, and alterations could be made heretowithout departing from the spirit and scope of the invention.

What is claimed is:
 1. A control device that performs wirelesscommunication and is connected to another control device via a wirednetwork comprising: an acquirer that acquires information relating to achannel and a communication timing used for wireless communication viathe wired network from another control device that is made to act as aslave; a generator that generates a setting of a channel and acommunication timing in which wireless communication performed by theanother control device is free of interference, based on informationrelating to a channel and a communication timing used for wirelesscommunication of the control device and information relating to thechannel and the communication timing used for the wireless communicationthat are acquired by the acquirer; and a reporter that reports thesetting of the channel and the timing generated by the generator to theanother control device that is made to act as the slave via the wirednetwork.
 2. The control device as claimed in claim 1, wherein: thecommunication timing is a starting time and a cycle of wirelesscommunication; when there is a usable and unused channel when generatingthe setting, the generator sets a channel that is used by an objectcontrol device to the usable and unused channel; and when there is nousable and unused channel when generating the setting, the generatorsets the channel that is used by the object control device to a channelits which a number of assigned control devices is less and sets astarting time of the wireless communication to a starting time in whicha number of assigned control devices is less.
 3. The control device asclaimed in claim 1, wherein when another control device is added to thewired network or is deleted from the wired network, the acquirerre-acquires the information relating to the channel and thecommunication timing from another control device connected to the wirednetwork, the generator re-generates the setting of the channel and thecommunication timing that is free of interference of the wirelesscommunication performed by the another control device, and the reporterre-reports the re-generated setting of the channel and the communicationtiming to the control device that is made to act as the slave.
 4. Thecontrol device as claimed in claim 1 further comprising: a secondacquirer that acquires possession information possessed by an opposingcontrol device that performs wireless communication with the controldevice when information is requested from an information processingdevice that is connected to the control device via the wired network;and a sender that sends the possession information acquired by thesecond acquirer to the information processing device.
 5. The controldevice as claimed in claim 4 further comprising a holder that associateswith each other a destination of the slave, information of the opposingcontrol device managed by the slave, and information of a group to whichthe opposing control device managed by the slave belongs, and holds theassociated information, wherein: when possession information of anopposing control device belonging to a group indicated by theinformation processing device is requested, the second acquirer acquiresthe possession information of the opposing control device belonging tothe group from a slave that manages the opposing control devicebelonging to the group; and the sender sends the possession informationacquired by the second acquirer to the information processing device. 6.A communication system comprising: a plurality of control devices thatare connected to each other via a wired network; a plurality of opposingcontrol devices that respectively perform wireless communication withthe plurality of control devices; and an information processing devicethat is connected to the plurality of control devices via the wirednetwork, and includes a setter that makes one of the plurality ofcontrol devices act as a master and makes the other control devices actas a slave, wherein: the master comprises: an acquirer that acquiresinformation relating to a channel and a communication timing used for awireless communication via the wired network from the slave; a generatorthat generates a setting of a channel and a communication timing that isfree of interference in the wireless communication between the pluralityof control devices and the plurality of opposing control devices, basedon information relating to a channel and a communication timing used fora wireless communication that the master uses and information relatingto the channel and the communication timing used for the wirelesscommunication that are acquired by the acquirer; and a reporter thatreports the setting of the channel and the communication timinggenerated by the generator to the slave via the wired network, the slavecomprises a changer that changes a channel and a communication, timingused for the wireless communication of the slave in accordance with thesetting of the channel and the communication that are reported by thereporter.
 7. The communication system as claimed in claim 6, wherein:the communication timing is a starting time and a cycle of a wirelesscommunication; when there is a usable and unused channel when generatingthe setting, the generator sets a channel that is used by an objectcontrol device to the usable and unused channel; and when there is nousable and unused channel when generating the setting, the generatorsets the channel that is used by the object control device to a channelin which a number of assigned control devices is less and sets astarting time of the wireless communication to a starting time in whicha number of assigned control devices is less.
 8. The communicationsystem as claimed in claim 6, wherein when the slave is added to thewired network or is deleted from the wired network, the acquirerre-acquires the information relating to the channel and thecommunication timing from another slave connected to the wired network,the generator re-generates the setting of the channel and thecommunication timing that is free of interference of the wirelesscommunication performed by the plurality of control devices, and thereporter re-reports the re-generated setting of the channel and thecommunication timing to a control device that is made to act as theslave.
 9. The communication system as claimed in claim 6, wherein: themaster comprises: a second acquirer that acquires possession informationof an opposing control device that performs a wireless communicationwith the master when acquiring of information from the opposing controldevice performing the wireless communication is requested; and a firstsender that sends the possession information acquired by the secondacquirer to the it processing device, the slave comprises: a thirdacquirer that acquires possession information of an opposing controldevice that performs a wireless communication with the slave when thepossession information is requested; and a second sender that sends thepossession information acquired by the third acquirer to the informationprocessing device.
 10. The communication system as claimed in claim 9,wherein: the master comprises: a holder that associates with each othera destination of the slave, information of the opposing control devicemanaged by the slave, and information of a group to which the opposingcontrol device managed by the slave belongs, and holds the associatedinformation, wherein: when possession information of the opposingcontrol device belonging to a group indicated by the informationprocessing device is requested, the second acquirer acquires possessioninformation of the opposing control device belonging to the group from aslave that manages the opposing control device belonging to the group;and the first sender sends the possession information acquired by thesecond acquirer to the information processing device.
 11. Thecommunication system as claimed in claim 10, wherein when theinformation processing device requests a re-setting of the channel andthe communication timing used for the wireless communication orelectrical power information of the opposing control device belonging tothe group from the slave, the second sender of the slave sends back tothe information processing device a re-direct instruction requesting theresetting of the channel and the communication timing used for thewireless communication or electrical power information of an opposingcontrol device belonging to the group from the master by using adestination of the master.